package com.shuwang.user.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * 如果请求需要用户验证。
 */
@ResponseStatus(value= HttpStatus.UNAUTHORIZED)
public class UnauthorizedException extends RuntimeException{

	private static final long serialVersionUID = 1L;
	public UnauthorizedException(String message)
	{
		super(message);
	}
	
}
